static PyObject * ${name}_f = NULL;
$ret_type $name($arg_decl) {
    /* $doc */ 
    PyObject * res = PyObject_CallFunction(${name}_f, "$arg_build", $args);
    $ret_type rv = $err_ret;

    if(!res)
	return rv;

    rv = $convert;
    Py_DECREF(res);
    return rv;
}

/* vim: set syntax=c : */
